package com.zhu.test.service;

import com.zhu.cache.annotation.EasyCache;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName CacheServiceImpl
 * @Description TODO
 * @Author zhuxiongbin
 * @Date 2021-11-16 9:16
 * @Version 1.0.0
 */
@Service
public class CacheServiceImpl implements CacheService {


    @Override
    @EasyCache(key = "#aa")
    public List getList(String aa) {
        List<String> list = new ArrayList<>();
        list.add(aa);
        return list;
    }


}
